package org.zou.jenkinsdemo.controller;


import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api")
public class IndexController {

    @GetMapping("/login")
    public ResponseEntity<String> get() {
        System.out.println("被调用");
        return new ResponseEntity<>(HttpStatus.OK);
    }
}
